<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html; charset=utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/layuiadmin/style/admin.css" media="all">
</head>
<body>

<div class="layui-container">
    <div class="layui-card">
        <div class="layui-card-body" style="padding: 15px;height:200px">
            <form class="layui-form" id="agCashForm">
                <%--<input type="hidden" name="id" value="${cid}">--%>

                <div class="layui-form-item">
                    <label class="layui-form-label">请输入金额</label>
                    <div class="layui-input-block">
                        <input type="number" name="cashMoney"  class="layui-input">
                        <span style="font-size: 14px;color: #4DAF29">余额：${summoney}</span></br>
                        <span style="font-size: 14px;color: #4DAF29">最小提现金额：${rule.minVal}</br>
                            最小提现金额:${rule.maxVal}
                        </span></br>
                        <span style="font-size: 14px;color: #4DAF29">手续费：${scale}%</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">选择银行卡</label>
                    <div class="layui-input-block">
                        <select name="bankId">
                            <option value="">请选择</option>
                            <c:forEach items="${bankList}" var="l">
                                <option value="${l.id}">${l.bankName}</option>
                            </c:forEach>
                        </select>
                    </div>
                </div>
            </form>
            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn" onclick="FormSubmit('#agCashForm','/cash/editCashDetailInfo')">提现</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="/layuiadmin/layui/layui.js"></script>
<script type="text/javascript" src="/js/sx/login/jquery3.4.js"></script>
<script type="text/javascript" src="/js/sx/login/jquery.form.js"></script>
<script type="text/javascript" src="/js/sx/login/common.js"></script>
<script type="text/javascript" src="/layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        //静态资源所在路径
        base: '/layuiadmin/'
    }).extend({
        //主入口模块
        index: 'lib/index'
    }).use(['index', 'form'], function(){
        var $ = layui.$,layer = layui.layer
    });
</script>
</body>
</html>